﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.Odbc;

namespace Thesis_2
{
    public partial class frmSalesReport : Form
    {
        public frmSalesReport()
        {
            InitializeComponent();
            this.Load += new EventHandler(frmSalesReport_Load);
        }

        void frmSalesReport_Load(object sender, EventArgs e)
        {
            //crystalReportViewer1.ReportSource = CrystalReport21;
            //crystalReportViewer1.Refresh();
        }

        private void button8_Click(object sender, EventArgs e)
        {
 
        }

        private void Button1_Click(object sender, EventArgs e)
        {
            //CrystalReport21.SetParameterValue("Start", dateTimePicker1);
            //CrystalReport21.SetParameterValue("End", dateTimePicker2);
            //crystalReportViewer1.ReportSource = CrystalReport21;
            //crystalReportViewer1.Refresh();
        }

        private void Button1_Click_1(object sender, EventArgs e)
        {
            frmSalesReport2 frm = new frmSalesReport2();
            frm.Show();
        }
    }
}
